package com.come4loves.game.module.fight.constants;

public enum SkillMoment {
	SPELLCASTED,
	UNITSUMMONED,
	UNITLEFTED,
	EQUIPSUMMONED,
	EQUIPLEFTED,
	UNITATTACK,
	UNITDEFENSE,
	UNITDEALDAMAGE,
	UNITHALTDAMAGE,

	EQUIPGENERALATTCAK,
	EQUIPGENERALDEFENSE,
	EQUIPGENERALDEALDAMAGE,
	EQUIPGENERALHALTDAMAGE,

	SPEEDTIME,


	RESETPHASE,
	DEPLOYPHASE,
	RECRUITPHASE,
	BATTLEPHASE,
	DISCARDPHASE,

	UNITSUMMONEDANDLEFTED,
	EQUIPSUMMONEDANDLEFTED;
	
	public static SkillMoment vallueOf(String moment) {
		for (SkillMoment m : values()) {
			if (m.toString().toLowerCase().equals(moment)){
				return m;
			}
		}
		return null;
	}

}
